package com.qfedu.mesadmin.md.type.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ItemTypeVO {

    private Long id;
    private String itemTypeName;
    private String itemOrProduct;
    private String enableFlag;
    private Integer orderNum;
    // @DateTimeFormat
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    // 子分类
    private List<ItemTypeVO> children;
}
